projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b59f34
)
(uudecode-decode-region-internal): Make it work in a
author
Kenichi Handa
<handa@m17n.org>
Fri, 12 Jan 2007 00:54:56 +0000
(
00:54
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 12 Jan 2007 00:54:56 +0000
(
00:54
+0000)
multibyte buffer.
lisp/gnus/uudecode.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/uudecode.el
b/lisp/gnus/uudecode.el
index 616348e899faaf37f52a3f3b3b9ac619a6861946..6586f715f9cfa1ee2c66d82de894bf008f9d7be9 100644
(file)
--- a/
lisp/gnus/uudecode.el
+++ b/
lisp/gnus/uudecode.el
@@
-205,7
+205,10
@@
If FILE-NAME is non-nil, save the result to FILE-NAME."
(insert (apply 'concat (nreverse result)))))
(or (markerp end) (setq end (set-marker (make-marker) end)))
(goto-char start)
- (insert (apply 'concat (nreverse result)))
+ (if enable-multibyte-characters
+ (mapc #'(lambda (x) (insert (string-to-multibyte x)))
+ (nreverse result))
+ (insert (apply 'concat (nreverse result))))
(delete-region (point) end))))))
;;;###autoload